import { ColumnProps } from "@/components/Table/type";
import { SchemaProps } from "@/components/Form/type";
export const columns: ColumnProps[] = [
  { type: "index", label: "#", width: 50 },
  { prop: "deptName", label: "部门名称", search: { el: "input" } },
  { prop: "action", label: "操作", width: 150, fixed: "right" }
];

export const schemas: SchemaProps[] = [
  {
    field: "deptName",
    label: "部门名称",
    required: true
  },
  {
    field: "parentId",
    label: "上级部门"
  }
];
